package com.render.gui.button;

import org.lwjgl.opengl.Display;

import base.Start;
import base.render.gui.GuiButton;

import com.world.WorldHermes;

public class GuiButtonRestart extends GuiButton
{
	public GuiButtonRestart()
	{
		super(Display.getWidth() - 40, Display.getHeight() - 40, 32, 32);
	}

	@Override
	public void onAction()
	{
		Start.worldManager.moveToWorld(new WorldHermes());
	}
}
